<?php $flashMessenger = Zend_Controller_Action_HelperBroker::getStaticHelper('FlashMessenger') ?>
<div class="group-message" align="center">
<?php if ($flashMessenger->setnamespace('error')->hasmessages()) : ?>
    <?php foreach ($flashMessenger->getmessages() as $msg) : ?>
    <p class="text-error"><?php echo $msg ?></p>
    <?php endforeach ?>
<?php endif ?>
<?php if ($flashMessenger->setnamespace('success')->hasmessages()) : ?>
    <?php foreach ($flashMessenger->getmessages() as $msg) : ?>
    <p class="text-success"><?php echo $msg ?></p>
    <?php endforeach ?>
<?php endif ?>
</div>